package com.dime.basic.api;

import com.dime.basic.api.domain.DimeBasemaincheckconclusion;
import com.dime.basic.api.factory.RemoteGroupFallbackFactory;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "remoteBaseMainclusion", value = ServiceNameConstants.DM_BASIC, fallbackFactory = RemoteGroupFallbackFactory.class)
public interface RemoteBaseMainclusionService {

    @GetMapping("/basemaincheckconclusion/info/maincheckconclusion/{id}")
    public R<DimeBasemaincheckconclusion>getMaincheckconclusionByid(@PathVariable("id")String conslusionId);

}
